/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const dashboardRouter = {
  path: '/',
  component: Layout,
  redirect: '/dashboard',
  children: [{
    path: 'dashboard',
    name: 'Dashboard',
    component: () => import('@/views/dashboard/index'),
    meta: { title: '首页', icon: 'dashboard', affix: true }
  }]
}

export default dashboardRouter
